//
//  ForgetViewController.m
//  Lightthings
//
//  Created by Hero on 2024/11/15.
//

#import "ForgetViewController.h"

@interface ForgetViewController ()
@property (weak, nonatomic) IBOutlet UILabel *titleLab;
@property (weak, nonatomic) IBOutlet UILabel *subtitleLab;
@property (weak, nonatomic) IBOutlet UIView *phoneView;
@property (weak, nonatomic) IBOutlet UIView *codeView;
@property (weak, nonatomic) IBOutlet UIView *passwordView;
@property (weak, nonatomic) IBOutlet UIView *password2View;
@property (weak, nonatomic) IBOutlet UITextField *phoneTF;
@property (weak, nonatomic) IBOutlet UITextField *codeTF;
@property (weak, nonatomic) IBOutlet UITextField *passwordTF;
@property (weak, nonatomic) IBOutlet UITextField *passwordTF2;
@property (weak, nonatomic) IBOutlet UIButton *sureBtn;

@end

@implementation ForgetViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.titleLab.text = SWString(@"忘记密码");
    self.subtitleLab.text = SWString(@"请填写信息重设密码");
    
//    self.countryLab.text = SWString(@"国家/地区");
    
    self.phoneView.layer.borderColor = KLColor(@"#cccccc").CGColor;
    self.codeView.layer.borderColor = KLColor(@"#cccccc").CGColor;
    self.passwordView.layer.borderColor = KLColor(@"#cccccc").CGColor;
    self.password2View.layer.borderColor = KLColor(@"#cccccc").CGColor;
    
    self.phoneTF.placeholder = SWString(@"请输入手机号/邮箱号");
    self.codeTF.placeholder = SWString(@"请输入验证码");
    self.passwordTF.placeholder = SWString(@"请设置新密码");
    self.passwordTF2.placeholder = SWString(@"请确认新密码");
    self.phoneTF.clearButtonMode = UITextFieldViewModeWhileEditing;
    self.codeTF.clearButtonMode = UITextFieldViewModeWhileEditing;
    self.passwordTF.clearButtonMode = UITextFieldViewModeWhileEditing;
    self.passwordTF2.clearButtonMode = UITextFieldViewModeWhileEditing;
    
    [self.sureBtn setTitle:SWString(@"设置密码并登录") forState:0];
    
    // Do any additional setup after loading the view from its nib.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
